package com.crane.oss.xunfei.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class AppStudentPhysicalReportResp implements Serializable {
    /**
     * score : 70.6
     * addScore : 10.0
     * totalScore : 80.6
     * level : 良好
     * comment1 : 张 1 同学 2021-2022 学年国家体测国家体制健康测试中，总分为 70.6 分，等级 为及格，附加分 10.0 分，附加分测试项目为引体向上(1 分)
     * comment2 : 身体指数（BMI）为肥胖；立定跳远 1 项成绩较低，反映了力量素质较差，应引起 您的重视；引体向上、50 米跑 2 项项目成绩反映了力量素质、速度素质相对较好，希望能够继续保持；
     * comment3 : 根据体质测评结果，我们建议您采用以力量素质、减脂为核心锻炼目标的运动处方 方案，通过适度锻炼，达到力量素质、减脂的目标，提高成绩，促进身体素质水平全面发展。
     * studentScore : [{"level":"肥胖","assessmentType":0,"itemId":"11","itemName":"BMI","mark":"52","score":"60","addScore":"0","itemUnit":"千克/米^2#kg/m^2","weight":"0.15","itemPassRule":"15.5-22.1"}]
     */

    private String img;
    private String studentName;
    private int age;
    @ApiModelProperty(value = "性别", name = "gender")
    private int gender;

    @ApiModelProperty(value = "分数", name = "score")
    private String score;
    @ApiModelProperty(value = "附加分", name = "addScore")
    private String addScore;
    @ApiModelProperty(value = "总分", name = "totalScore")
    private String totalScore;
    @ApiModelProperty(value = "等级", name = "level")
    private String level;
    @ApiModelProperty(value = "评语 1", name = "comment1")
    private String comment1;
    @ApiModelProperty(value = "评语 2", name = "comment2")
    private String comment2;
    @ApiModelProperty(value = "评语 3", name = "comment3")
    private String comment3;
    private List<StudentScoreBean> studentScore;

    @Data
    public static class StudentScoreBean implements Serializable {
        /**
         * level : 肥胖
         * assessmentType : 0
         * itemId : 11
         * itemName : BMI
         * mark : 52
         * score : 60
         * addScore : 0
         * itemUnit : 千克/米^2#kg/m^2
         * weight : 0.15
         * itemPassRule : 15.5-22.1
         */
        @ApiModelProperty(value = "项目等级", name = "level")
        private String level;
        @ApiModelProperty(value = "素质类型 1:有氧耐力,2:速度,3:柔韧,4:协调,5: 力量", name = "assessmentType")
        private int assessmentType;
        @ApiModelProperty(value = "项目 id", name = "itemId")
        private String itemId;
        @ApiModelProperty(value = "项目名称", name = "itemName")
        private String itemName;
        @ApiModelProperty(value = "成绩", name = "mark")
        private String mark;
        @ApiModelProperty(value = "分数", name = "score")
        private String score;
        @ApiModelProperty(value = "附加分", name = "addScore")
        private String addScore;
        @ApiModelProperty(value = "项目单位", name = "itemUnit")
        private String itemUnit;
        @ApiModelProperty(value = "分数权重", name = "weight")
        private String weight;
        @ApiModelProperty(value = "除 bmi 外,单位为秒的都是 小于其他的都是大于", name = "itemPassRule")
        private String itemPassRule;
    }
}
